package org.angelica.modules.account.form;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @author aizhimin
 */
@Data
@Builder
public class AccRoleCreateForm {

    /**
     * 角色名称
     */
    @NotBlank
    private String roleName;
    /**
     * 角色描述
     */
    @NotBlank
    private String roleDesc;
    /**
     * 权限ID字符串，逗号隔开
     */
    @NotEmpty
    private String[] perms;
}
